<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>音画余庆</title>
    <script type="text/javascript" src="../../assets/js/common/iss_app_utility.js?time=20180529134742"></script>
    <script type="text/javascript" src="../../assets/js/iss_app_configure.js?time=20180529134742"></script>
    <!-- Styles -->
    <style type="text/css">
        .title {
            text-align: center;
        }

        .page-content{
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .playVideo {
            width: 100%;
            height: 100%;
        }

        .video-bg {
            width: 100%;
            /* position: absolute; */
            background-position: center;
            height: 100%;
            background-size: cover;
            background-repeat: no-repeat;
            top: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .player {
            width: 100%;
            height: 40%;
            position: relative;
        }

        .video-play {
            width: 50px;
            height: 50px;
        }
    </style>
</head>

<body>
    <div class="statusbar-overlay">
    </div>
    <div class="panel-overlay">
    </div>
    <div class="views">
        <div class="view view-main">
            <div class="pages navbar-fixed">
                <div id="video_list_page" data-page="video_list" class="page video_list">
                    <!-- navbar 开始 -->
                    <div class="navbar theme-white">
                        <div class="navbar-inner">
                            <div class="left">
                                <a href="#" data-href="../know/video_list.html" class="link icon-only">
                                    <i class="icon icon-back">
                                    </i><span>返回</span>
                                </a>
                            </div>
                            <div class="center">
                                音画余庆</div>
                            <div class="right">
                            </div>
                        </div>
                    </div>
                    <!-- navbar 结束 -->
                    <div class="page-content content">
                        <div class="player">     
                            <video class="playVideo" style="display:none;" src="" controls></video>
                            <div class="video-bg">
                                <img src='../../assets/images/common/other/play.png' class="video-play" />
                            </div>
                        </div>
                    </div>
                    
                </div>
            </div>
        </div>
    </div>
    <!-- 外部链接 -->
    <script type="text/javascript " src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
        
    <script type="text/javascript" src="../../assets/js/base/framework7.min.js"></script>
    <script type="text/javascript" src="../../assets/js/base/iss_api_jquery.js"></script>
    <script type="text/javascript" src="../../assets/js/common/iss_app.js?time=20180529134742"></script>
    <script type="text/javascript" src="../../assets/js/common/iss_app_common_user.js?time=20180529134742"></script>
    <script type="text/javascript" src="../../assets/js/common/iss_app_convertor.js?time=20180529134742"></script>
    <script type="text/javascript">
        var videoDetail = "know/video_detail.html";

        var contactsCallback_videoDetail = myApp.onPageInit('videoDetail', function (page) {
            //获取页面参数
            var url = ISS.utils.getParameter("url");
            var imgurl = ISS.utils.getParameter("imgurl");
            $('.playVideo').attr('src', url);
            $('.video-bg').css('background-image', 'url(\''+imgurl+'\')');
        });

        $('.video-bg').on('click', function () {
            $('.video-bg').hide();
            $('.playVideo').show();
            document.getElementsByClassName('playVideo')[0].play();
        });
        contactsCallback_videoDetail.trigger();

    </script>
</body>

</html>